home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Essentials / Developer Essentials Nov 90 / Apple II / Apple.II.partition / Tools / Icon.Editor / ICON.EDIT.MAN.T next >
Encoding:
Text File  |  1989-04-21  |  24.1 KB  |  535 lines  |  [TEXT/pdos]

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. Apple IIGSt Icon Editor
  9.  
  10. Copyright Apple Computer, Inc. 1987
  11. All rights reserved
  12.  
  13. By Dan Oliver
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. This document assumes that you are familiar with menus, windows, controls, and line edit.
  29.  
  30.  
  31. Contents
  32.  
  33.  
  34.  
  35. Chapter 1 - Overview.............................................    Page 2
  36.  
  37. Chapter 2 - Getting Started in a Hurry..........................    Page 2
  38.  
  39.         Creating Icons............................................................    Page 3
  40.         Creating Your Application Icon........................................    Page 4
  41.         Creating Your Document Icon.........................................    Page 5
  42.         Saving Your Icon File to Disk.........................................    Page 5
  43.  
  44. Chapter 3 - Fat Pixel Displays...................................    Page 6
  45.  
  46. Chapter 4 - Reference.............................................    Page 8
  47.  
  48.     Menu Bar
  49.         About GS Icon Editor...................................................    Page 8
  50.         New.......................................................................    Page 8
  51.         Open.......................................................................    Page 8
  52.         Save.......................................................................    Page 8
  53.         Save as....................................................................    Page 8
  54.         Quit........................................................................    Page 8
  55.         Add New Icon...........................................................    Page 8
  56.         Edit Extended Parameters...............................................    Page 8
  57.         Remove...................................................................    Page 8
  58.         Copy Image to Mask....................................................    Page 8
  59.         Copy Mask to Image....................................................    Page 8
  60.         Fill Image.................................................................    Page 8
  61.         Fill Mask..................................................................    Page 8
  62.         by Large Icon............................................................    Page 9
  63.         by Small Icon............................................................    Page 9
  64.  
  65.     Buttons in Edit Extended Parameters Dialog
  66.         Cancel.....................................................................    Page 9
  67.         OK.........................................................................    Page 9
  68.  
  69.     Buttons in Edit Window
  70.         Save Icon.................................................................    Page 9
  71.  
  72.     Line Edit Fields in Edit Extended Parameters Dialog
  73.         Name to match...........................................................    Page 9
  74.         File type to match........................................................    Page 10
  75.         Aux........................................................................    Page 10
  76.         Icon's Application Pathname...........................................    Page 10
  77.         Width of icon.............................................................    Page 10
  78.         Height of icon............................................................    Page 11
  79.  
  80.  
  81. Chapter 5 - Icon Structure Definition...........................    Page 12
  82.  
  83. Chapter 6 - Finder & Application Interface.....................    Page 13
  84.  
  85.  
  86.  
  87.  
  88. Chapter 1 - Overview
  89.  
  90. The Icon Editor is used to create icons that the Apple IIGS Finder can recognize.  The Finder will use the icons to set certain files apart from other files and to launch applications from document files.
  91.  
  92. How does the Finder know which files go with which icons?  The Finder can match files to icons by any combination of 3 fields.  The icon can match by file type, aux type, and filename.  The Finder keeps a list of icon blocks (an icon block is an ICONBLK structure that contains one or more icons).  The first list the Finder reads is FINDER.ICONS from the boot disk's ICON folder.  After that the Finder will add any icon block files that it finds in the ICON directory of inserted disks.  Additional blocks are added to the front of the list so that FINDER.ICONS is always the last block in the list.
  93.  
  94. When the Finder needs to match a file to an icon it starts with the first icon in the first block in the list.  A match can be accomplished by either an exact match or by use of a wildcard.  If all three fields in the icon match the file the file is given that icon.  If even one field does not match the Finder will try again with the next icon in the block.  The Finder will try again with the first icon in the next block in the list if there are no more icons in the block.  The last icon in the list is the last icon in FINDER.ICONS which is the generic document icon and will always match all 3 fields.
  95.  
  96.  
  97.  
  98.  
  99.  
  100. Chapter 2 - Getting Started in a Hurry
  101.  
  102. This chapter can be used to create a typical icon file for a application.  The goal of this chapter is to create one icon for your application and one icon for your data files.  The steps are very short and don't go into explanations.  The following chapters go into more detail about the Icon Editor and icon record structure.
  103.  
  104. If your application does not create documents skip the Creating Your Document Icon section.  If your application creates more then one type of document repeat Creating Your Document Icon section until you have created an icon for each type of document.
  105.  
  106.  
  107. Creating Icons
  108.  
  109. Have an idea of what icons you want for your application and documents.  Drawing the shapes on graph paper can be a big help.  You will need two shapes for each icon, one for when it's viewed as large (any size you'd like, average about 16x16, maximum about 200x30 or so) and one when it's viewed as small (8x8).
  110.  
  111.  
  112. Creating Your Application Icon
  113.  
  114. -    Create a directory (folder) named ICONS in the root directory of the disk that contains your application.
  115.  
  116. -    Run the ICON.EDITOR program on the ICON.EDITOR disk.
  117.  
  118. -    Select 'New' from the 'File' menu.
  119.  
  120. -    Select 'Add New Icon' from the 'Edit' menu.
  121.  
  122. -    Double click on the icon that just appeared in the Untitled window.  The edit window will come forward and take up the entire screen.
  123.  
  124. -    Select 'Edit Extended Parameters...' from the 'Edit' menu.  Entering extended parameters uses line edit fields and assumes you already know how line edit fields work.
  125.  
  126. -    Enter the following data into the following line edit fields: (See Chapter 4 "Line Edit Fields in Edit Extended Parameters Dialog" for more information.)
  127.  
  128.  
  129. Name to match:    Filename of your application.
  130. File type to match: $    00B3
  131. Aux: $    0000 (don't touch)
  132. Icon's Application:    (blank, don't touch)
  133. Width of icon:    Width of your icon shape in pixels, even numbers only.
  134. Height of icon:    Height of your icon shape in pixels.
  135.  
  136.  
  137. -    Select the 'OK' button with the mouse.
  138.  
  139. -    Edit the 'Image:' fat pixel display.  See  Chapter 3 for more information about editing Fat Pixel Displays.
  140.  
  141. -    Select 'Copy Image to Mask' from the 'Edit' menu.  Copies all pixels from the Image fat pixel display into the Mask fat pixels display.  White pixels are copied as white and all other colors are copied as black.  Every black pixel in the Mask will allow the corresponding pixel in the Image to be displayed in the icon.
  142.  
  143. -    Change white pixels in the Mask fat pixel display to black for every pixel in the Image display that you want to display in the final icon.
  144.  
  145. -    Click on the 'Save Icon' button in the Edit window.
  146.  
  147. -    Select 'by Small Icon' from the 'View' menu.
  148.  
  149. -    Edit the small edit Image and Mask just like you did for the large icon Image and Mask in the last few steps.
  150.  
  151. -    Click on the 'Save Icon' button in the Edit window.
  152.  
  153. -    Select 'by Large Icon' from the 'View' menu.
  154.  
  155. -    Click on the Zoom box in the Edit window.
  156.  
  157. -    Click on the Untitled window to bring it to the front.  Your application icon will be displayed in the Untitled window.
  158.  
  159. Creating Your Document Icon
  160.  
  161. -    Select 'Add New Icon' from the 'Edit' menu.
  162.  
  163. -    Double click on the icon that just appeared in the Untitled window.  The edit window will come forward and take up the entire screen.
  164.  
  165. -    Select 'Edit Extended Parameters...' from the 'Edit' menu.
  166.  
  167. -    Enter the following data into the following line edit fields:
  168.  
  169. Name to match:    Type * (that is, one character, upper case 8).
  170. File type to match: $    File type of the document file.
  171. Aux: $    Aux type if all your documents will have the same aux type.
  172. Icon's Application:    Entire pathname of your application on the disk you ship.
  173. Width of icon:    Width of your icon shape in pixels, even numbers only.
  174. Height of icon:    Height of your icon shape in pixels.
  175.  
  176.  
  177. -    Select the 'OK' button with the mouse.
  178.  
  179. -    Edit the 'Image:' fat pixel display.
  180.  
  181. -    Select 'Copy Image to Mask' from the 'Edit' menu.
  182.  
  183. -    Change white pixels in the Mask fat pixel display to black for every pixel in the Image display that you want to display in the final icon.
  184.  
  185. -    Click on the 'Save Icon' button in the Edit window.
  186.  
  187. -    Select 'by Small Icon' from the 'View' menu.
  188.  
  189. -    Edit the small edit Image and Mask just like you did for the large icon Image and Mask in the last few steps.
  190.  
  191. -    Click on the 'Save Icon' button in the Edit window.
  192.  
  193. -    Select 'by Large Icon' from the 'View' menu.
  194.  
  195. -    Click on the Zoom box in the Edit window.
  196.  
  197. -    Click on the Untitled window to bring it to the front.  Your document icon will be displayed in the Untitled window.
  198.  
  199.  
  200. Saving Your Icon File to Disk
  201.  
  202. -    Select 'Save as...' from the file menu.
  203.  
  204. -    Open the ICONS directory in your application disk.
  205.  
  206. -    Type the name of your icon file.  A good name for your icon file would be the name of your application with .ICONS appended to the end.  The icon file must be in a directory called ICONS in the root of your application disk.
  207.  
  208. Chapter 3 - Fat Pixel Displays
  209.  
  210. The following diagram shows where the Fat Pixel Displays and the Color Bar are located in the Edit window.
  211.  
  212.  
  213. Fat Pixel displays are used to change the shape and colors of graphic images, icons in this case.  Inside a fat pixel display are little rectangles.  Each rectangle corresponds to a pixel in the image.  The color of each pixel can be selected by you to create the final image and shape.
  214.  
  215. The Icon Editor uses two different types of fat pixel displays to create an icon.  The first is the one labeled 'Image'.  The image display can edited using 16 colors.  The other display is labeled 'Mask'.  The mask display can only be edited with two colors, black and white.  When editing the Mask image every color is considered black except for white.
  216.  
  217. To change pixels you must first select a color from the Color Bar by clicking the mouse over a color.  Then move the cursor over the pixel in the fat pixel display you want to change and click.  The pixel will now change color to the color you selected from the Color Bar.
  218.  
  219.  
  220. Short Cut:    In addition to picking up color from the Color Bar you can also pick up colors directly from the fat pixel display.  To select a color from the fat pixel display click on pixel on the desired color while holding down the Open Apple key (the key that isn't the option key).  Then release the Open Apple key.  The current color will now be the new color.
  221.  
  222.  
  223. If you make a mistake, click again on the wrong pixel and the pixel that was there (no matter what color) will come back.  Clicking on color that has been laid down since the last color selection will undo that pixel.  You will be able to undo pixels until you change colors using either the color bar or the short cut.  Changing colors takes a snap-shot of the current image and it is from the snap-shot image that pixels will be recovered.
  224.  
  225. To change a lot of pixels you can drag over (move the cursor while holding down the button) the pixels you wish to change.  Each pixel you touch with the cursor will be changed.  To change all the pixels you can select one of four items in the 'Edit' menu outlined below.
  226.  
  227.  
  228. Copy Image to Mask    Copies all pixels from the Image fat pixel display into the Mask fat pixels display.  White pixels are copied as white and all other colors are copied as black.  Every black pixel in the Mask will allow the corresponding pixel in the Image to be displayed in the icon.
  229.  
  230. Copy Mask to Image     Will copy every pixel in the Mask fat pixel display into every corresponding pixel in the Image fat pixel display.
  231.  
  232. Fill Image    Every pixel in the Image fat pixel display will become the current color (current color is the last selected color).
  233.  
  234. Fill Mask     Every pixel in the Mask fat pixel display will become white if the current color is white, otherwise they will become black (current color is the last selected color).
  235.  
  236.  
  237.  
  238. Chapter 4 - Reference
  239.  
  240.  
  241. Menu Bar
  242.  
  243. About GS Icon Editor...
  244.  
  245.     Copyright notice.
  246.  
  247. New
  248.     Creates an icon display window that can be used to create icon files.  See 'Add New Icon' for adding icons to the window.
  249.  
  250. Open...
  251.     Creates an icon display window that displays an existing icon file.
  252.  
  253. Save
  254.     Saves the icon file in the top most window to the same name the file originally came from.
  255.  
  256. Save as...
  257.     Saves the icon file in the top most window to a new name and location.
  258.  
  259. Quit
  260.     Exits the Icon Editor.
  261.  
  262. Add New Icon
  263.     Adds a generic icon to the end of the icon list in the top most window.
  264.  
  265. Edit Extended Parameters...
  266.     Brings up a dialog window that allows editing of the icon currently being edited.  The items that can be edited in this window are the size of the large icon, what filename, file type and aux type to associate with the icon, and what application to launch when the icon is opened in the Finder.
  267.  
  268. Remove
  269.     Removes the icon currently being edited from the icon list it came from.
  270.  
  271. Copy Image to Mask
  272.     Copies all pixels from the Image fat pixel display into the Mask fat pixels display.  White pixels are copied as white and all other colors are copied as black.  Every black pixel in the Mask will allow the corresponding pixel in the Image to be displayed in the icon.
  273.  
  274. Copy Mask to Image 
  275.     Will copy every pixel in the Mask fat pixel display into every corresponding pixel in the Image fat pixel display.
  276.  
  277. Fill Image
  278.     Every pixel in the Image fat pixel display will become the current color (current color is the last selected color).
  279.  
  280. Fill Mask
  281.      Every pixel in the Mask fat pixel display will become white if the current color is white, otherwise they will become black (current color is the last selected color).
  282.  
  283. by Large Icon
  284.     Change the view of every window to view by large icon.  Allows editing of the large icon in the Edit window.
  285.  
  286. by Small Icon
  287.     Change the view of every window to view by small icon.  Allows editing of the small icon in the Edit window.
  288.  
  289.  
  290. Buttons
  291.  
  292. Edit Extended Parameters Dialog
  293.  
  294. Cancel
  295.     Removes the dialog window and does not use any of the changes made in the window since it was last displayed.
  296.  
  297. OK
  298.     Removes the dialog window and accepts the data in the window.  The data in the window is not put into the icon list at this time, the 'Save Icon' button in the edit window will do that.
  299.  
  300.  
  301. Edit Window
  302.  
  303. Save Icon
  304.     Saves the current extended parameters and the current icon shape (large or small) into the icon list that the icon came from.
  305.  
  306.  
  307. Line Edit Fields in Edit Extended Parameters Dialog
  308.  
  309. Name to match:
  310.  
  311.     This field contains the filename that should be associated with the icon image.  The '*' character can be used as a wildcard character.  Here are some examples of strings that can be used for matching:
  312.  
  313.  
  314. SOURCE.ASM    Only filenames that match this string exactly will have the icon being edited.
  315.  
  316. *.ASM    Only filenames that end with the characters '.ASM' will have the icon being edited.
  317.  
  318. *ASM    Only filenames that end with the characters 'ASM' will have the icon being edited.
  319.  
  320. SOURCE*    Only filenames that start with the characters 'SOURCE' will have the icon being edited.
  321.  
  322. *    All filenames will have the icon being edited.
  323.  
  324.  
  325. Suggestion:    For this field type a '*' for document icons and the complete application name for application icons.  Typing a string for document icons forces the user to always name your documents to your convention.  One time when a string for a document icon would make sense is when it is for documents that are created by your application and user does not create.
  326.  
  327.  
  328.  
  329. File type to match: $
  330.  
  331.     This field contains the file type that should be associated with the icon image.  Either a hexadecimal number can be entered or 0000.  A value of zero here will associate files of any file type to this icon.  See ProDOS documentation about file types for more information.
  332.  
  333.  
  334. Suggestion:    For this field is to enter the file type.  Field types for applications should be $00B3.  The file type is the best way to associate files to icons and should not be left as zero.
  335.  
  336.  
  337.  
  338. Aux: $
  339.  
  340.     This field contains the file aux type that should be associated with the icon image.  Either a hexadecimal number can be entered or 0000.  A value of zero here will associate files of any aux type to this icon.  See ProDOS documentation about aux types for more information.
  341.  
  342.  
  343. Suggestion:    For application icons leave this field 0000.  For document icons that do not have special file types but do have special aux types, enter the special aux type.  If your document files do not have a special aux type leave this field as 0000.
  344.  
  345.  
  346.  
  347. Icon's Application Pathname
  348.  
  349.     This field contains the complete pathname of the application that should be launched if the icon being edited should be opened in the Finder.  Generally, this field would contain the pathname of the application on the disk being sold.  For example, if you have an application named APPLICATION on a disk named DISK in a directory named FOLDER this field should have the string /DISK/FOLDER/APPLICATION.  
  350.  
  351.  
  352. Suggestion:    For this field is to enter the pathname of the application for icons that will be associated with files that contain data that is created by the user while in the application.  
  353.  
  354.     This field should be left blank (no characters) if the icon will be associated with an application.
  355.  
  356.  
  357.  
  358. Width of icon:
  359.  
  360.     This field defines the width of the icon image.  The number entered must be even and is the number of little rectangles wide the obese bits display will be.  Changing this field will cause the current images in the obese bits display to be lost.Those of you know how the GS represents color may find this parameter a little confusing because the Icon Editor represents pixels or obese bits as 4 bits per pixel even through we are in 640 mode.
  361.  
  362.  
  363. Suggestion:    For this field enter a decimal number in the range of 10 to 30 with 16 being an average.  Icons smaller or larger than this range could make your icon look out of place.  Very large icons (those containing 2000 or more pixels) can make the system fail.
  364.  
  365.  
  366.  
  367. Height of icon:
  368.  
  369.     This field defines the height of the icon image.  The number entered is the number of little rectangles high the obese bits display will be.  Changing this field will cause the current images in the obese bits display to be lost.
  370.  
  371.  
  372. Suggestion:    For this field enter a decimal number in the range of 10 to 30 with 16 being an average.  Icons smaller or larger than this range could make your icon look out of place.  Very large icons (those containing 2000 or more pixels) can make the system fail.
  373.  
  374.  
  375.  
  376.  
  377. Chapter 5 - Icon Structure Definition
  378.  
  379. This section describes how icons are represented internally.  It is not necessary to read or understand this section in order to use the Icon Editor.  This information is provided for programmers that may want to write their own icon editors or use icon files in their own applications.
  380.  
  381. Icon images are defined by a structure called an ICONBLK.  The ICONBLK contains a header that describes where the block came from and where the next block is.  After the header is a list of ICONDATA structures each of which describes one icon.  Each ICONDATA block contains a header that describes general information about the icon like what file type and name should be associated with the icon.  Following the header in each ICONDATA are two ICON structure.  Each ICON structure describes the actual icon image.  The first ICON structure in the ICONDATA structure describes a large icon, the second ICON describes a small icon.  In the Finder the large icon is displayed when 'by Icon' is selected from the View menu and the small icon is displayed when any of the other items in the View menu is selected.
  382.  
  383.  
  384. ICONBLK record:
  385.  
  386.     IBlkNext        LONG            Handle of next ICONBLK record, zero terminates list.
  387.     IBlkID        WORD            ID number for this type of ICONBLK.
  388.     IBlkPath        LONG            Handle of pathname that block came from.
  389.     IBlkName    BYTE[16]        Name of file block came from.
  390.     IBlkIcons    ICONDATA[n]    List of icon data records.
  391.  
  392.  
  393.     ICONDATA record:
  394.  
  395.         iDataLen        WORD        Length of this ICONDATA record, zero terminates list.
  396.         iDataBoss    BYTE[64]    Name of application that owns this icon.
  397.         iDataName    BYTE[16]    Name of file or files associated with this icon.
  398.         iDataType    WORD        File type associated with this icon.
  399.         iDataAux        WORD        File aux type associated with this icon.
  400.         iDataBig        ICON            Normal size icon image data.
  401.                         ICON            Small size icon image data.
  402.  
  403.         ICON record:
  404.  
  405.             imType        WORD    Flags, zero.
  406.             imSize        WORD    Number of bytes in image buffer (mask size also).
  407.             imHeight        WORD    Height of icon image and mask in pixels.
  408.             imWidth        WORD    Width of icon image and mask in pixels (4 bits per pixel).
  409.             imImage        BYTE[n]    Icon image data.
  410.                             BYTE[n]    Icon mask data.
  411.  
  412.  
  413.  
  414. Chapter 6 - Finder & Application Interface
  415.  
  416. This section describes how an application can interface with the Finder.
  417.  
  418. When a user opens one or more document files from the Finder, the Finder looks for and launches the application that created those document files.  In addition to launching the application the Finder also passes a list of the opened documents to the Message Center.  Your application can then ask the Message Center what document files were opened.
  419.  
  420. Reading the List of Opened Document Files
  421.  
  422. After your application has started and you have performed necessary initialization perform the following steps.
  423.  
  424.  
  425.  
  426. 1.)    Allocate a handle.  The size of the handle can be any size (10 bytes or so) and its attributes should be zero (unlocked, movable, anywhere).
  427.  
  428.             pha        Space for result.
  429.             pha
  430.             pea    0    Pass size.
  431.             pea    10    
  432.             pei    <MyID    Pass ID number.
  433.             pea    0    Pass attributes.
  434.             pea    0    Pass address of memory (none).
  435.             pea    0
  436.             _NewHandle
  437.             pla
  438.             sta    <messageHand
  439.             pla
  440.             sta    <messageHand+2
  441.  
  442. 2.)    Next, call the Message Center and ask for a pathname list message if it has one.  (The Message Center is part of the Tool Locator and requires no additional initialization.)
  443.  
  444.             pea    2    Return a message command.
  445.             pea    1    Requesting a message about files.
  446.             pei    <messageHand+2    Pass handle to put message into.
  447.             pei    <messageHand
  448.             _MessageCenter
  449.             bcc    OK    Make sure there is a message and
  450.                     that there was no error.
  451.  
  452.             pei    <messageHand+2    If there was no message, or an
  453.             pei    <messageHand    error, the handle should be freed
  454.             _DisposeHandle    and your application can continue
  455.                     like no document was opened.
  456.  
  457. 3.)    Process the message.  The format of the Files Message is as follows:
  458.  
  459.  
  460.     messNext    LONG    Handle of next message (don't use).
  461.     messType    WORD    Should be 1 for Files Message.
  462.     messData    WORD    0 if the documents were opened, 
  463.                 1 if Print was selected for the documents.
  464.             STRG[n]    Array of pathnames, length byte first.
  465.                 A string with a length of zero terminates the list.
  466.  
  467.  
  468.             ldy    #2    Dereference the message.
  469.             lda    [<messageHand],y    You may also want to lock it.
  470.             sta    <message+2
  471.             lda    [<messageHand]
  472.             sta    <message
  473.  
  474.             ldy    #messType    Index to message type.
  475.             lda    [<message],y
  476.             cmp    #1    Must be a Files Message.
  477.             bne    error
  478.  
  479.             ldy    #messData+2    Index to first pathname.
  480.         loop    sep    #$30    8 bit registers.
  481.             LONGA OFF
  482.             LONGI OFF
  483.     
  484.             ldx    #$FF    Move pathname into common area.
  485.         cloneLoop    inx
  486.             lda    [<message],y
  487.             sta    pathname,x
  488.             iny
  489.             cpx    pathname    
  490.             bne    cloneLoop
  491.     
  492.             rep    #$30    16 bit registers.
  493.             LONGA ON
  494.             LONGI ON
  495.  
  496.             lda    pathname    Is this the last pathname?
  497.             and    #$00FF
  498.             beq    done
  499.  
  500.             phy        Save index into message buffer.
  501.                     pathname = document's full path.
  502.             ldy    #messData    Index to print flag.
  503.             lda    [<message],y
  504.             bne    printIt
  505.  
  506.             jsr    openDocument    Perform whatever operation your
  507.             bra    next    application does to documents.
  508.  
  509.         printIt    jsr    printDocument    Print the document.
  510.  
  511.         next    ply        Get index into message buffer.
  512.             bra    loop    Make sure the handle didn't move.
  513.  
  514.         done    pei    <messageHand+2    Free the message handle.
  515.             pei    <messageHand    
  516.             _DisposeHandle    
  517.  
  518.         --------------------------------------
  519.  
  520.         pathname    ds    256    The maximum length of pathnames
  521.                     is 256 bytes including length
  522.                     byte.
  523.  
  524.  
  525. 4.)    The last step is to delete the message from the Message Center.  This must be done so your application, or some other application, doesn't reuse the message if the next application isn't launched from the Finder.
  526.  
  527.             pea    3    Delete message command.
  528.             pea    1    Delete Files messages only.
  529.             pea    0    No handle required.
  530.             pea    0
  531.             _MessageCenter
  532.  
  533.  
  534.  
  535.